package beaver.game;

/**
 * This class will contain all constants.
 * @author Davide Cannucci
 *
 */
public  class Constants {

	public final static int BAZOOKA = 2;
	public final static int BAZOOKA_AMMO = 10;
	public final static int BAZOOKA_RADIUS = 40;
	public final static int MINIGUN = 3;
	public final static int MINIGUN_AMMO = 20;
	public final static int MINIGUN_RADIUS = 40;
	public final static int GRENADE = 4;
	public final static int GRENADE_AMMO = 10;
	public final static int GRENADE_RADIUS = 100;
	public final static int AIRSTRIKE = 5;
	public final static int AIRSTRIKE_AMMO = 5;
	public final static int AIRSTRIKE_RADIUS = 40;
	public final static int GOLFCLUB = 6;
	public final static int GOLFCLUB_AMMO = -1;
	public final static int STARTING_HP = 100;
	public final static int TURN_TIME = 15;
	public final static int UPDATES = 26;
	public final static int FRAME_RATE = 60;
	public final static float UPDATES_PER_SECOND = 110f;
	public final static int ITERATIONS = 10;
	public final static int BEAVERS_PER_TEAM = 4;
	public final static int SECONDS_PER_TURN = 30;
	public final static int MAX_WIDTH = 1600;
	public final static int MAX_HEIGHT =  500;
	public final static int SERVER_PORT = 33333;
	public final static int NETWORK_WAIT = 250;

	//server to client networking message codes
	public final static int START_YES = 3;
	public final static int START_NO = 4;
	public final static int CONTINUE_YES = 5;
	public final static int CONTINUE_NO = 6;
	public final static int BUSY = 7;
	public final static int IDLE = 8;
	
	//client to server networking message codes
	public final static int END_CONNECTION = 505;
	public final static int SENDING_STATE = 502;
	public final static int NOT_READY = 500;
	public final static int READY = 501;
	public final static int CAN_START = 503;
	public final static int SENDING_MOVE = 506;
	public final static int GET_MOVES = 507;
	public final static int END_TURN = 508;
	public final static int CAN_CONTINUE = 509;
	public final static int END_MY_TURN = 510;
	public final static int END_OPPONENT_TURN = 511;
	public final static int WRITE_MOVES = 512;
	public static final int OPPONENT_TURN_ENDED = 513;
	public static final int YES = 514;
	public static final int NO = 515;
	public static final int CAN_WRITE_MOVES = 516;
	
	
	
	
	
}
